#pragma once
#include "MyVector.h"

class Particle
{
public:
	float m_fLife;			//particle live time
	float m_fCurLive;			//current live time

	Vector3 m_position;		//vi tri = vi tri cu + van toc
	Vector3 m_velocity;		//van toc = van toc cu + gia toc
	Vector3 m_accelerator;	//gia toc khong doi
	
	Vector3 m_size;			//size
	Vector3 m_sizeDelta;	//kich thuoc dao dong

	Color4 m_color;			//mau sac chinh
	Color4 m_colorDelta;	//mau sac dao dong

	Particle(float _life, Vector3 _size, Vector3 _pos, Vector3 _acc, Color4 _color);
	~Particle(void);
};

